<?php
    header("Content-type:text/html;charset=utf-8");//设置文件编码格式
    require_once './config.php';
    $user = $_GET['value'];
    $sql="select * from login where user='$user'";
    $result= mysqli_query($conn,$sql);
    echo mysqli_num_rows($result);
?>